package com.a0soft.gphone.aTruffleHog.util;
/*
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 3, or (at your option) any
 * later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * Copyright(C) 2011 
 *   Sam Lu <ysl.sam.lu (at) gmail.com>
 *
 */

public class CONSTS {
    static final boolean ENABLE_DEBUG_LOG = false; //false for release

    public static final String SERVER_API_URL = CONFIGURATION.SERVER_URL + "/api/"; //API entry
        
    //need change the number if INK changed
    public static final int INK_VERSION = 0x012000; //1.00.00, <major>.<minor>.<rd>, reset <rd> to 0 for formal release

    //////////////////////////////////////////////////////////
    public static final String HTTP_USER_AGENT = "aTruffleHog/1.0 (gzip)";
    public static final int HTTP_TIMEOUT_TIME_IN_SECOND = 60;
    public static final long HTTP_CACHE_EXPIRED_TIME_IN_MILLISECOND = 3600 * 8 * 1000; //8 hours
    
    public static final String ALL_MODEL_OR_COUNTRY = "all";
    
    public static final String DATA_DIR_NAME = "data";
    
	public static final String UNKNOWN = "unknown";
	public static final String UNAVAILABLE = "unavailable";
	
	public static final int MAX_PIE_NUMBER = 50;
	public static final float MIN_PIE_PERCENTAGE = 0.002f; //0.2%
	
	public static final int[] PIE_COLORS = {
	    0xFF33b5e5, 0xFFaa66cc, 0xFF669900, 0xFFFFbb33,
        0xFFff4444,
        
        0xFFfed24f, 0xFF00a950, 0xFF1ab6ea, 0xFFe51937, 
        0xFFf9aa89, 0xFFf0b310, 0xFF00a950, 0xFF0068b3,
        0xFF00704a, 0xFFc41230, 0xFFda48d8, 0xFFff8226,
        0xFF43e584, 0xFFf2346e, 0xFF9d78f0, 0xFF5df35d};	
}
